#!/bin/bash

temp=`mktemp`

date > $temp
who >> $temp
cat $temp

wc < $temp

wc << mark
hello
my name is qian
nice to meet you
bye bye
mark

ls ~ | sort

rm $temp

